<script lang="ts" setup>
  import Alert from '@sscd/alert';
</script>

<template>
  <div class="demo">
    <div class="demo-title">图标</div>
    <div class="demo-content">
      <Alert message="Success Tips" type="success" show-icon />
      <Alert class="mt12" message="Informational Notes" type="info" show-icon />
      <Alert class="mt12" message="Warning" type="warning" show-icon />
      <Alert class="mt12" message="Error" type="error" show-icon />
      <Alert
        class="mt12"
        message="Success Tips"
        description="Detailed description and advices about successful copywriting."
        type="success"
        show-icon
      />
      <Alert
        class="mt12"
        message="Informational Notes"
        description="Additional description and informations about copywriting."
        type="info"
        show-icon
      />
      <Alert
        class="mt12"
        message="Warning"
        description="This is a warning notice about copywriting."
        type="warning"
        show-icon
      />
      <Alert
        class="mt12"
        message="Error"
        description="This is an error message about copywriting."
        type="error"
        show-icon
      />
    </div>
  </div>
</template>

<style lang="less" scoped>
  .mt12 {
    margin-top: 12px;
  }
</style>
